﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CloudShot.Editor.CanvasFigures;
using CloudShot.Properties;

namespace CloudShot.Utils
{
  internal static class HintTextHelper
  {
    public static string GetResizeHint(CanvasObject resizedObject, int  resizedObjectHandle = 0)
    {
      if (resizedObject is CanvasEllipse)
        return HintResources.EllipseTool_Resize;
      else if (resizedObject is CanvasRectangle)
        return HintResources.RectTool_Resize;
      else if (resizedObject is CanvasArrow &&  resizedObjectHandle!= ArrowVertexType.Middle)
        return HintResources.Arrow_Resize;

      return string.Empty;
    }
  }
}
